package com.ourteam.product.model.api;

public class DatabaseTableColumnBean {

	private String name;
	
	private String type;
	
	private String description;
	
	private boolean primaryKey;
	
	private boolean required;
	
	private boolean autoIncrement;
	
	private Integer sizeAsInt;
	
    private int scale;
    
    private int typeCode;
    
    private String defaultValue;
    
    public DatabaseTableColumnBean() {
		super();
	}

	public String getId() {
		return name;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public boolean isPrimaryKey() {
		return primaryKey;
	}

	public void setPrimaryKey(boolean primaryKey) {
		this.primaryKey = primaryKey;
	}

	public boolean isRequired() {
		return required;
	}

	public void setRequired(boolean required) {
		this.required = required;
	}

	public boolean isAutoIncrement() {
		return autoIncrement;
	}

	public void setAutoIncrement(boolean autoIncrement) {
		this.autoIncrement = autoIncrement;
	}

	public Integer getSizeAsInt() {
		return sizeAsInt;
	}

	public void setSizeAsInt(Integer sizeAsInt) {
		this.sizeAsInt = sizeAsInt;
	}

	public int getScale() {
		return scale;
	}

	public void setScale(int scale) {
		this.scale = scale;
	}

	public int getTypeCode() {
		return typeCode;
	}

	public void setTypeCode(int typeCode) {
		this.typeCode = typeCode;
	}

	public String getDefaultValue() {
		return defaultValue;
	}

	public void setDefaultValue(String defaultValue) {
		this.defaultValue = defaultValue;
	}
	
}
